#include<iostream>
#include<stdio.h>
class Complex{
private:
  double real;
  double imag;
public:
  Complex();
  Complex(double real, double imag);
  //~Complex();
double getReal();
double  getImag();
void setReal(double re);
void setImag(double im);
Complex operator+(Complex c);
Complex operator+(double d);
Complex operator=(const Complex &c);

friend std::ostream& operator<<(std::ostream& out, Complex c);
};



